package vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @param
 * @return
 */
@Data
public class ImagesVO implements Serializable {
    //图片id,图片点赞方便返回该信息
    private Long id;
    //图片url
    private String url;
    //图片名字
    private String name;

    private Long dayHot;

    private Long allHot;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime uploadTime;
    //0不喜欢1喜欢
    private Integer loveStatus;
    private String clazz;
    //作者名
    private String username;
    //性别
    private String sex;

}
